Total Complexity | 12 |
Dependencies | 7 |
Dependents | 3 |
Total lines | 120 |
Lines of code | 61 |
Logical lines of code | 31 |
Comment lines | 32 |
Methods | 6 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
build_variants_from_products() | 50 | 5 | 31 | |
upsert_cart() | 61 | 2 | 12 | |
remove_cart() | 64 | 2 | 9 | |
__construct() | 81 | 1 | 3 | |
generate_cart_id() | 78 | 1 | 3 | |
create_gr_cart() | 79 | 1 | 3 |